package com.model;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * VClassInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "V_classInfo", schema = "")
public class VClassInfo implements java.io.Serializable {


	// Fields

		private String classId;
		private String className;
		private String gradeName;
		private String majorName;
		private String collegeName;
		private Boolean isEnable;

		private String gradeId;
		private String majorId;
		private String collegeId;

	// Constructors

	/** default constructor */
	public VClassInfo() {
	}
	/** minimal constructor */
	public VClassInfo(String classId, String gradeId, String majorId, String collegeId) {
		this.classId = classId;
		this.gradeId = gradeId;
		this.majorId = majorId;
		this.collegeId = collegeId;
	}

	/** full constructor */
	public VClassInfo(String classId, String className, String gradeName, String majorName, String collegeName, Boolean isEnable, String gradeId, String majorId, String collegeId) {
		this.classId = classId;
		this.className = className;
		this.gradeName = gradeName;
		this.majorName = majorName;
		this.collegeName = collegeName;
		this.isEnable = isEnable;
		this.gradeId = gradeId;
		this.majorId = majorId;
		this.collegeId = collegeId;
	}

	// Property accessors
		@Id
		@Column(name = "classID", nullable = false)
		public String getClassId() {
			return this.classId;
		}

		public void setClassId(String classId) {
			this.classId = classId;
		}

		@Column(name = "className")
		public String getClassName() {
			return this.className;
		}

		public void setClassName(String className) {
			this.className = className;
		}

		@Column(name = "gradeName")
		public String getGradeName() {
			return this.gradeName;
		}

		public void setGradeName(String gradeName) {
			this.gradeName = gradeName;
		}

		@Column(name = "majorName")
		public String getMajorName() {
			return this.majorName;
		}

		public void setMajorName(String majorName) {
			this.majorName = majorName;
		}

		@Column(name = "collegeName")
		public String getCollegeName() {
			return this.collegeName;
		}

		public void setCollegeName(String collegeName) {
			this.collegeName = collegeName;
		}

		@Column(name = "isEnable")
		public Boolean getIsEnable() {
			return this.isEnable;
		}

		public void setIsEnable(Boolean isEnable) {
			this.isEnable = isEnable;
		}

		@Column(name = "gradeID", nullable = false)
		public String getGradeId() {
			return this.gradeId;
		}

		public void setGradeId(String gradeId) {
			this.gradeId = gradeId;
		}

		@Column(name = "majorID", nullable = false)
		public String getMajorId() {
			return this.majorId;
		}

		public void setMajorId(String majorId) {
			this.majorId = majorId;
		}

		@Column(name = "collegeID", nullable = false)
		public String getCollegeId() {
			return this.collegeId;
		}

		public void setCollegeId(String collegeId) {
			this.collegeId = collegeId;
		}
}